﻿using System.ComponentModel;

namespace AINav.WebUI.Entities
{
    public enum Grade
    {
        A, B, C, D, F
    }

    public class Enrollment
    {
        [DisplayName("EnrollmentID")]
        public int EnrollmentID { get; set; }
        [DisplayName("课程编号")]
        public int CourseID { get; set; }
        [DisplayName("学生编号")]
        public int StudentID { get; set; }
        [DisplayName("年级")]
        public Grade? Grade { get; set; }

        public Course? Course { get; set; }
        public Student? Student { get; set; }
    }
}
